﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH6_2009A.LowCode.Domain
{
    [Table("tb_user")]
    public class UserModel
    {
        public Guid Id { get; set; }

        [Required]
        public string LoginName { get; set; }

        [Required]
        public string Password { get; set; }
        public string? State { get; set; } = "0";

        public DateTime? LastLoginTime { get; set; } = System.DateTime.UtcNow;

        public bool IsModifyPasswrod { get; set; } = false;

    }
}
